package com.nifostasky.comic.entitys;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel(value="字典大类")
@Data
@TableName(value = "sys_dict_domain")
public class SysDictDomain extends SysBaseEntity implements Serializable {

    @TableField(value = "parent_id")
    @ApiModelProperty(value="父id")
    private Long parentId;
    /**
     * 大类名称
     */
    @TableField(value = "domain_name")
    @ApiModelProperty(value="大类名称")
    private String domainName;

    /**
     * 排序
     */
    @TableField(value = "sort")
    @ApiModelProperty(value="排序")
    private Integer sort;

    /**
     * 大类编码code
     */
    @TableField(value = "domain_code")
    @ApiModelProperty(value="大类编码code")
    private String domainCode;

    /**
     * 描述使用范围
     */
    @TableField(value = "description")
    @ApiModelProperty(value="描述使用范围")
    private String description;

}